﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.redshift
{
	// Token: 0x02000118 RID: 280
	public class TRedshiftReset : TCustomSqlStatement
	{
		// Token: 0x06000918 RID: 2328 RVA: 0x00302F3C File Offset: 0x0030113C
		public TRedshiftReset(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstredshiftReset;
		}

		// Token: 0x06000919 RID: 2329 RVA: 0x00302F50 File Offset: 0x00301150
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x0600091A RID: 2330 RVA: 0x00302F65 File Offset: 0x00301165
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x0600091B RID: 2331 RVA: 0x00302F75 File Offset: 0x00301175
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
